package com.code.day01.work;

public class MyDate {
    String year;
    String month;
    String day;

    public MyDate(String year, String month, String day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public String getDate() {
        return year+"-"+month+"-"+day;
    }
}
